package com.yr.ryjk.sysuser.entity;

import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;

public class SysUser {
	@NotBlank
    private String suName;//用户名，不能为中文

    private String suPassword;//密码

    private int suLevel;//级别，0为超级管理员，1为普通管理员,2为财务人员

    private Date suAddTime;//添加时间

    private String suAddMan;//添加人

    private Date suLastLoginTime;//最后登录时间

    public String getSuName() {
        return suName;
    }

    public void setSuName(String suName) {
        this.suName = suName == null ? null : suName.trim();
    }

    public String getSuPassword() {
        return suPassword;
    }

    public void setSuPassword(String suPassword) {
        this.suPassword = suPassword == null ? null : suPassword.trim();
    }

    public int getSuLevel() {
        return suLevel;
    }

    public void setSuLevel(int suLevel) {
        this.suLevel = suLevel;
    }

    public Date getSuAddTime() {
        return suAddTime;
    }

    public void setSuAddTime(Date suAddTime) {
        this.suAddTime = suAddTime;
    }

    public String getSuAddMan() {
        return suAddMan;
    }

    public void setSuAddMan(String suAddMan) {
        this.suAddMan = suAddMan == null ? null : suAddMan.trim();
    }

    public Date getSuLastLoginTime() {
        return suLastLoginTime;
    }

    public void setSuLastLoginTime(Date suLastLoginTime) {
        this.suLastLoginTime = suLastLoginTime;
    }
}